home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / clang / nn.zip / ARTICLES.H < prev    next >
C/C++ Source or Header  |  1989-12-31  |  529b  |  36 lines

  1. /*
  2.  * memory handling
  3.  */
  4.  
  5. /* article headers */
  6.  
  7. article_number    n_articles;
  8. article_header     **articles;
  9.  
  10.  
  11. typedef struct thunk {
  12.     char      *this_thunk;
  13.     struct thunk  *next_thunk;
  14.     long      thunk_size;
  15. } thunk;
  16.  
  17.  
  18. typedef struct {
  19.     thunk *sm_cur_t;
  20.     int      sm_size;
  21.     char  *sm_next;
  22. } string_marker;
  23.  
  24.  
  25. typedef struct {
  26.     string_marker mm_string;
  27.     thunk *mm_cur_t;
  28.     int      mm_size;
  29.     article_header *mm_next;
  30.     long mm_nart;
  31. } memory_marker;
  32.  
  33.  
  34. extern article_header *alloc_art();
  35. extern char *alloc_str();
  36.